package cn.source.system.common.Util.password;

/**
 * <p>ApiGateWayConfiguration.java此类用于web配置</p>
 * <p>@author:YXZhou</p>
 * <p>@remark:</p>
 */
public interface PasswordEncoder {

    /**
     * 加密
     *
     * @param password password
     * @param salt     salt
     * @return
     */
    String encode(String password, String... salt);

}
